package com.tdcode.ch1;

/**
 * @className: price
 * @description:
 * @author: cyd
 * @date: 2021/11/30 下午10:12
 **/
public abstract class Price {

    /**
     *
     * @return
     */
    abstract int getPriceCode();

    abstract double getCharge(int daysRented);

    int getFrequentRenterPoints(int daysRented) {
        return 1;
    }
}
